using System.ComponentModel;

namespace SMSManager.Data
{
	public abstract class NotifyPropertyChangedBase : INotifyPropertyChanged
	{
		internal void OnPropertyChanged(PropertyChangedEventArgs e)
		{
			PropertyChangedEventHandler handler = PropertyChanged;
			if (handler != null) handler(this, e);
		}

		public virtual event PropertyChangedEventHandler PropertyChanged;
	}
}